<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>首页</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="../css/common.css"/>
    <link rel="stylesheet" type="text/css" href="../css/mui.min.css"/>
    <style type="text/css">
        body {
            background: #f4f4f4;
            background-position: center;
            background-size: cover;
            position: relative;
            font-size: 13px;

        }

        /*分类*/
        .contain {
            line-height: 1.4;
            background: #fff;
            overflow: hidden;
        }

        .contain-left {
            width: 25%;
            text-align: center;
            float: left;
        }

        .contain-left .aui-list-view-cell {
            padding: 12px;

        }

        .contain .aui-list-view:after {
            border: none;
        }

        .contain-left .active {
            color: #fa5354;
            border: none;
            background: #f3f3f2
        }

        .contain-left, .contain-right {
            overflow-y: auto;
            height: 100%;
        }

        .contain-right {
            padding: 12px;
            width: 75%;
            float: left;
            display: inline-block;
        }

        .contain .aui-content {
            overflow-y: auto;
            position: relative;
        }

        .contain-right .pic img {
            width: 100%;
        }

        .tuijian-title {
            padding: 8px;
        }

        .tuijian {
            position: relative;
        }

        .other {
            text-align: center;
            overflow-y: hidden;
        }

        .other ul {
            position: relative;
            overflow-y: hidden;
        }

        .other .aui-list-view-cell {
            padding: 8px 0;
        }

        .other .aui-list-view-cell:after {
            border: none;
        }

        .aui-icon-sort {
            font-size: 20px !important;
        }

        .contain {
            height: 100%;
        }

        .fenlei {
        }

        .other-title {
            padding: 0px 5px;
            font-size: 14px;
            font-weight: 400;
            width: 100%;
            display: inline-block;
            position: relative;
            text-align: left;
            font-weight: bold;
        }
        .other-list{
            margin-bottom: 20px;
        }
        .other-list li{
            margin-bottom: 8px;
        }
    </style>
</head>
<body>
<!-- 分类 -->
<div class="fenlei">
    <div class="contain  mui-row mui-fullscreen">
        <div class="contain-left mui-col-xs-3">
            <div class="aui-content">
                <ul class="aui-list-view leimu1" id='Category-content'>
                    <!--一级分类-->
                    <li class='aui-list-view-cell aui-ellipsis-1' >
                        常用类目
                      </li>
                      <li class='aui-list-view-cell aui-ellipsis-1 active' tapmode
                          onclick='changeCategory(this)'>
                          灯饰照明
                      </li>
                      <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                          onclick='changeCategory(this)'>
                          地板
                      </li>
                      <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                          onclick='changeCategory(this)'>
                          龙骨/吊顶/隔断
                      </li>
                      <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                          onclick='changeCategory(this)'>
                          精细化工
                      </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        管材
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        装饰面料
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        门窗
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        五金工具
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        建筑装修材料
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        家居家装
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        橱具卫浴
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        防火防水防腐建材
                    </li>
                    <li class='aui-list-view-cell aui-ellipsis-1' tapmode
                        onclick='changeCategory(this)'>
                        节能环保材料
                    </li>

                </ul>
            </div>
        </div>
        <div class="contain-right mui-col-xs-9">

            <!--<div class="pic">
                <img src="" alt="" id="categoryImage">
            </div>-->
            <!-- 非热门 -->
            <div class="other" id="Other-content">
                <!--二三级分类-->
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
                <div class="other-list">
                    <div class="other-title aui-ellipsis-1">
                        光源
                    </div>
                    <ul>
                        <li class="aui-col-xs-4" onclick="openToTwo()">球泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">蜡烛灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">尖泡灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">横插灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">PAR灯</li>
                        <li class="aui-col-xs-4" onclick="openToTwo()">管灯</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/myInfo.js"></script>
<script type="text/javascript" src="../script/doT.min.js"></script>
<script type="text/javascript" src="../script/echo.js"></script>
<script type="text/javascript" src="../script/jquery-1.11.3.js"></script>
<script type="text/javascript">
    apiready = function () {
        api.parseTapmode();
        $(".contain-left li").addClass("aui-border-r");
    }
    function changeCategory(obj) {
        $(".contain-left li").removeClass("active").addClass("aui-border-l").addClass("aui-border-r");
        $(obj).addClass("active").removeClass("aui-border-l").removeClass("aui-border-r");
    }
</script>
</html>